import React, { Component } from 'react';
import { Layout } from 'antd';
import IHeader from './components/Header';

const { Header, Content } = Layout;

class Setting extends Component {
	render(){
		return (
			<Layout style={{ height: "100vh" }}>
				<Header style={{ zIndex: 1, padding: 0}}>
					<IHeader menuType="second" />
				</Header>
				<Content style={{ background: '#fff' }}>
					{this.props.children}
				</Content>
			</Layout>
		)
	}
}

export default Setting;